from sklearn.preprocessing import StandardScaler

s = StandardScaler()

r = s.fit_transform([[1, 2, 3], [4, 5, 6]])
print(r)
print("----" * 10)

ss = StandardScaler()
r_1 = ss.fit([[1, 2, 3], [4, 5, 6]])
print(r_1)
r_2 = ss.transform([[1, 2, 3], [4, 5, 6]])
print(r_2)
print("----" * 10)


r_3 = ss.fit([[2,3,4],[4,5,6]])
print(r_3)
r_4 = ss.transform([[1,2,3], [4,5,6]])
print(r_4)